//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03B
TN_Widget.CreateTable([['Ronny Chieng','Orpheum Theatre - Phoenix','Phoenix, AZ','Sunday','5/5/2024','7:00 PM','6037939','Ronny-Chieng-5-5-2024'],['Celtic Woman','Orpheum Theatre - Phoenix','Phoenix, AZ','Tuesday','5/7/2024','7:00 PM','5964301','Celtic-Woman-5-7-2024'],['David Sedaris','Orpheum Theatre - Phoenix','Phoenix, AZ','Friday','5/10/2024','8:00 PM','5872211','David-Sedaris-5-10-2024'],['Hollywood On Broadway: The Sandlot 30th Anniversary with the Cast','Orpheum Theatre - Phoenix','Phoenix, AZ','Friday','5/31/2024','7:00 PM','6320314','Hollywood-On-Broadway--The-Sandlot-30th-Anniversary-with-the-Cast-5-31-2024'],['La Cotorrisa','Orpheum Theatre - Phoenix','Phoenix, AZ','Thursday','9/5/2024','8:30 PM','6404053','La-Cotorrisa-9-5-2024'],['Rodrigo Y Gabriela','Orpheum Theatre - Phoenix','Phoenix, AZ','Friday','9/13/2024','7:00 PM','6416236','Rodrigo-Y-Gabriela-9-13-2024'],['Spider-Man: Across The Spider-Verse Live In Concert','Orpheum Theatre - Phoenix','Phoenix, AZ','Sunday','10/6/2024','7:00 PM','6412822','Spider-Man--Across-The-Spider-Verse-Live-In-Concert-10-6-2024'],['Anne Wilson','Orpheum Theatre - Phoenix','Phoenix, AZ','Friday','11/1/2024','7:00 PM','6391621','Anne-Wilson-11-1-2024'],['Matteo Lane','Orpheum Theatre - Phoenix','Phoenix, AZ','Friday','11/22/2024','7:00 PM','6415130','Matteo-Lane-11-22-2024'],['Dita Von Teese','Orpheum Theatre - Phoenix','Phoenix, AZ','Saturday','8/23/2070','TBD','4416236','Dita-Von-Teese-8-23-2070'],['Sibling Rivalry Tour: Bob The Drag Queen & Monet X Change','Orpheum Theatre - Phoenix','Phoenix, AZ','Friday','3/20/2071','8:00 PM','4419692','Sibling-Rivalry-Tour--Bob-The-Drag-Queen---Monet-X-Change-3-20-2071'],['Aida Cuevas','Orpheum Theatre - Phoenix','Phoenix, AZ','Saturday','5/21/2072','8:00 PM','5071928','Aida-Cuevas-5-21-2072'],['Mauricio Ochmann','Orpheum Theatre - Phoenix','Phoenix, AZ','Saturday','10/1/2072','8:00 PM','5164460','Mauricio-Ochmann-10-1-2072'],['Ingrid Contreras','Orpheum Theatre - Phoenix','Phoenix, AZ','Saturday','9/23/2073','8:00 PM','5882712','Ingrid-Contreras-9-23-2073']],'Orpheum Theatre Phoenix','http://www.ticketnetwork.com/ticket/Orpheum-Theatre-Phoenix-events.aspx');